package com.xin.mmall.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class RedirectHandler {
    @GetMapping("/")
    public String main(){
        //重定向到这个请求
        return "redirect:/productCategory/list";
    }
}
